From: Giovanni Campagna Date: Fri, 22 Feb 2013 16:41:11 +0000 (+0100) Subject: Background: don't check draw-background key X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4651 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6fcc7e3e2379ff342ebac9365e3faeeab0c8000d;p=gnome-shell.git Background: don't check draw-background key The key was removed from gsettings-desktop-schemas, GNOME should always draw a background: the key existed to support xsetroot, but we no longer read the _XROOTPMAP_ID. https://bugzilla.gnome.org/show_bug.cgi?id=694463 --- diff --git a/js/ui/background.js b/js/ui/background.js index c1c061691..ef4dad3e3 100644 --- a/js/ui/background.js +++ b/js/ui/background.js @@ -14,7 +14,6 @@ const Params = imports.misc.params; const Tweener = imports.ui.tweener; const BACKGROUND_SCHEMA = 'org.gnome.desktop.background'; -const DRAW_BACKGROUND_KEY = 'draw-background'; const PRIMARY_COLOR_KEY = 'primary-color'; const SECONDARY_COLOR_KEY = 'secondary-color'; const COLOR_SHADING_TYPE_KEY = 'color-shading-type'; @@ -490,11 +489,6 @@ const Background = new Lang.Class({ }, _load: function () { - if (!this._settings.get_boolean(DRAW_BACKGROUND_KEY)) { - this._setLoaded(); - return; - } - this._cache = getBackgroundCache(); this._loadPattern(this._cache);